package com.wgts.wgts.mvp.model.imp;

import com.wgts.wgts.mvp.model.ISubmitTaskActivityModel;
import com.wgts.wgts.netmodle.HttpResultSubscriber;
import com.wgts.wgts.netmodle.NetService;
import com.wgts.wgts.netmodle.resp.CurrentEntity;

/*
 *
 *
 */public class SubmitTaskActivityModel implements ISubmitTaskActivityModel {
     private NetService netService;

    public SubmitTaskActivityModel(NetService netService) {
        this.netService = netService;
    }

    @Override
    public void issueTask(Integer taskId, String taskCode, String taskUrl, HttpResultSubscriber<Integer> subscriber) {
        netService.issueTask(taskId, taskCode, taskUrl, subscriber);
    }

    @Override
    public void submitTask(Integer taskId, Integer userTaskId, String completeUrl, HttpResultSubscriber<Integer> subscriber) {
        netService.submitTask(taskId, userTaskId, completeUrl, subscriber);
    }
}
